
<ion-modal-view class="projects">
  <ion-header-bar>
    <div class="buttons left-buttons">
      <button class="button button-icon ion-ios-arrow-back" ng-click="cancelPlaceSelected()"></button>
    </div>
    <h2 class="title">选择地点</h2>
    <div class="buttons right-buttons">
      <button class="button button-clear button-calm " ng-click="confirmPlaceSelected()">确定</button>
    </div>
  </ion-header-bar>

  <ion-header-bar class="bar-subheader">
    <div  class="search-width">
      <label class="item item-input" >
        <i class="icon ion-search placeholder-icon"></i>
        <input type="text" placeholder="地点名称" ng-model="searchPlace">
        <!--<i class="icon ion-android-close placeholder-icon" ng-show="searchPlace" on-tap="clearSearch()"></i>-->
      </label>
    </div>
  </ion-header-bar>

  <ion-content style="margin-top: 10px">
    <div class="list">
      <label ng-repeat="item in places |filter:searchPlace" class="item item-radio">
        <input type="radio" name="group" value="{{item.name}}" ng-click="getOnePlace(item)">
        <div class="item-content">
          {{item.name}}
        </div>
        <i class="radio-icon icon ion-checkmark"></i>
      </label>
    </div>
  </ion-content>
</ion-modal-view>

